package com.ptu.server;

import com.ptu.dto.SeckillProductDTO;
import com.ptu.entity.SeckillProduct;
import com.ptu.vo.SeckillProductVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SeckillProductServer {
    void addSeckillProduct(SeckillProductDTO seckillProductDTO);

    List<SeckillProduct> list();

    void delete(Long id);

    void update(SeckillProductDTO seckillProductDTO);

    SeckillProduct detail(Long id);

    void status(Long id);

    List<SeckillProductVO> userGetList();
}
